<?php

/**
 * 注册命文件
 * @category PhalconCMS
 * @copyright Copyright (c) 2016 PhalconCMS team (http://www.marser.cn)
 * @license GNU General Public License 2.0
 * @link www.marser.cn
 */
use Phalcon\Loader;

// 注册一个自动加载器
$loader = new Loader();

/**
 * 注册命名空间
 */
$loader->registerNamespaces(array(
    'Admin\Controllers' => ADMIN_PATH . 'Controllers',
    'Admin\Controllers\Api' => ADMIN_PATH . 'Controller/Api',
    'Admin\Core' => ADMIN_PATH . 'Core',
    'Platform' => ROOT_PATH . 'Platform',
))->register();
